home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 876 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: esdhof.esd.ornl.gov!forrest
  2. From: forrest@esdhof.esd.ornl.gov (Forrest M. Hoffman)
  3. Newsgroups: comp.lang.c,comp.os.msdos.programmer,comp.sys.ibm.pc.hardware.video,comp.sys.ibm.pc.hardware.misc,comp.sys.ibm.pc.misc
  4. Subject: malloc'ing 1.5MB of memory
  5. Date: 9 Jan 1996 21:16:46 GMT
  6. Organization: ORNL Environmental Sciences Division
  7. Distribution: world
  8. Message-ID: <4culvu$612@stc06.ctd.ornl.gov>
  9. Reply-To: forrest@esd.ornl.gov
  10. NNTP-Posting-Host: esdhof.esd.ornl.gov
  11. Keywords: memory msdos
  12.  
  13. Can anyone tell me how to grab a 1.5 MB chunk of PC memory?  I've got a
  14. VideoBlaster card and some C code they gave me.  But I want to use the
  15. full screen (800x600) at 24 bit color.  This means I have to have this
  16. much space to have the routine dump the data into.  The machine I'm
  17. using is a 486 with 16MB of memory.  This must be a DOS limitation?
  18.  
  19. I'm using MS C 6.0 and calling halloc();
  20.  
  21. Any suggestions?
  22. -----------------------------------------------------------------------------
  23. Forrest Hoffman                             forrest@esd.ornl.gov
  24. Environmental Sciences Division             http://www.esd.ornl.gov/~forrest
  25. Oak Ridge National Laboratory               (423) 576-7680
  26. MS 6036, Building 1505, Room 216            (423) 576-8543 fax
  27. P.O. Box 2008                               36  1' 35" N   84  11' 55" W
  28. Oak Ridge TN 37831-6036
  29. -----------------------------------------------------------------------------
  30.